{extend name='admin@main'}

{block name="content"}
<form class="layui-form layui-card" onsubmit="return false;"  action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
    <div class="layui-card-body">
        <div class="layui-form-item">
            <label class="layui-form-label">真实姓名</label>
            <div class="layui-input-block label-required">
                <input disabled name="desc" value='{$vo.real_name|default=""}' required placeholder="请输入赛事简介" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机号</label>
            <div class="layui-input-block label-required">
                <input disabled name="name" value='{$vo.mobile|default=""}' required placeholder="请输入活动名称" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">身份证号码</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" value='{$vo.id_card|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">国籍</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" value='{$vo.country|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">生日</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.birthday|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.sex|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
         <div class="layui-form-item">
            <label class="layui-form-label">血型</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.blood_type|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
         <div class="layui-form-item">
            <label class="layui-form-label">城市</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.city_label|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
         <div class="layui-form-item">
            <label class="layui-form-label">详细地址</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.address|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
         <div class="layui-form-item">
            <label class="layui-form-label">邮编</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.postcode|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
         <div class="layui-form-item">
            <label class="layui-form-label">邮箱</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.email|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
         <div class="layui-form-item">
            <label class="layui-form-label">服装尺码</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.clothing_size|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">护照号码</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.passport_number|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">护照姓</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.passport_surname|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">护照名</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.passport_name|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">护照签发日期</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.passport_issuance_time|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">护照过期日期</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.passport_end_time|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否参加过马拉松</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.is_doing|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">马拉松完成时间</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.malathion_finish_time|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">紧急联系人</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.emergency_contact|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">紧急联系人电话</label>
            <div class="layui-input-block label-required">
                <input disabled name="count" type="text" value='{$vo.emergency_contact_phone|default=""}' required placeholder="请输入活动人数（-1 为不限制）" class="layui-input">
                <!--{/if}-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">相关证件</label>
            <div class="layui-input-block label-required">
                <table class="layui-table">
                    <thead>
                    <tr>
                        <th class="text-left">健康证明</th>
                        <th class="text-left">完赛证明</th>
                    </tr>
                    <tr>
                        <td width="auto" class="text-left">
                            <img data-tips-image src="{$vo.health_certificate_pic|default=''}" alt="健康证明">
                        </td>
                        <td width="auto" class="text-left">
                            <img data-tips-image src="{$vo.finish_activity_pic|default=''}" alt="完赛证明">
                        </td>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>
    </div>
    <div class="hr-line-dashed"></div>
    <div class="layui-form-item text-center">
        {notempty name='vo.id'}<input disabled type='hidden' value='{$vo.id}' name='id'>{/notempty}
        <button class="layui-btn layui-btn-danger" type='button' data-close>关闭</button>
    </div>
</form>

{/block}
{block name='script'}
<script>
    window.form.render();
</script>
{/block}